package com.eightbears.beboy.entity;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;
import java.util.List;

public class ShoppingAddressEntity implements Serializable {


    private String message;
    private String status_code;
    private List<ShoppingAddress> data;

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getStatus_code() {
        return status_code;
    }

    public void setStatus_code(String status_code) {
        this.status_code = status_code;
    }

    public List<ShoppingAddress> getData() {
        return data;
    }

    public void setData(List<ShoppingAddress> data) {
        this.data = data;
    }

    @Override
    public String toString() {
        return "ShoppingAddressEntity{" +
                "message='" + message + '\'' +
                ", status_code=" + status_code +
                ", data=" + data +
                '}';
    }

    public static class ShoppingAddress implements Serializable {

        private String id;
        private String user_id;
        private String mobile;
        private String province_id;
        private String city_id;
        private String district_id;
        private String address;
        private String name;
        @SerializedName("default")
        private int defaultX;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getUser_id() {
            return user_id;
        }

        public void setUser_id(String user_id) {
            this.user_id = user_id;
        }

        public String getMobile() {
            return mobile;
        }

        public void setMobile(String mobile) {
            this.mobile = mobile;
        }

        public String getProvince_id() {
            return province_id;
        }

        public void setProvince_id(String province_id) {
            this.province_id = province_id;
        }

        public String getCity_id() {
            return city_id;
        }

        public void setCity_id(String city_id) {
            this.city_id = city_id;
        }

        public String getDistrict_id() {
            return district_id;
        }

        public void setDistrict_id(String district_id) {
            this.district_id = district_id;
        }

        public String getAddress() {
            return address;
        }

        public void setAddress(String address) {
            this.address = address;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public int getDefaultX() {
            return defaultX;
        }

        public void setDefaultX(int defaultX) {
            this.defaultX = defaultX;
        }

        @Override
        public String toString() {
            return "ShoppingAddress{" +
                    "id='" + id + '\'' +
                    ", user_id='" + user_id + '\'' +
                    ", mobile='" + mobile + '\'' +
                    ", province_id='" + province_id + '\'' +
                    ", city_id='" + city_id + '\'' +
                    ", district_id='" + district_id + '\'' +
                    ", address='" + address + '\'' +
                    ", name='" + name + '\'' +
                    ", defaultX=" + defaultX +
                    '}';
        }
    }
}
